package com.ds.robot.assistant.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ds.robot.assistant.entity.QxUserEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 15910
 * @description 针对表【qx_user(企信人员表)】的数据库操作Mapper
 * @createDate 2024-10-29 11:20:05
 * @Entity com.thrk.robot.assistant.entity.QxUser
 */
public interface QxUserMapper extends BaseMapper<QxUserEntity> {

    @Select("SELECT * FROM qx_user WHERE userid = #{userid}")
    QxUserEntity selectByUserId(@Param("userid") String userid);

    // 查询所有用户信息
    @Select("SELECT * FROM qx_user")
    List<QxUserEntity> selectAll();

}




